<template>
	<view class="item">
		<image :src="item.image" class="left" mode=""></image>
		<view class="right">
			<view class=" text-cut">{{item.name}}</view>
			<view class="">{{item.time}}</view>
		</view>
		<view class="text-price text-colorP">{{item.price}}</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: null
			}
		},
		data() {
			return {

			}
		}
	}
</script>

<style>
	page{
		background: #fff;
	}
</style>
<style>
	.item {
		padding: 20rpx 0;
		width: 100%;
		box-sizing: border-box;
		display: flex;
		justify-content: space-between;
		border-bottom: solid 1rpx #efefef;
		align-items: center;
	}

	.item .left {
		width: 88rpx;
		height: 88rpx;
		margin-right: 20rpx;
		border-radius: 8rpx;
	}
	
	.right{
		flex: 1;
		display: flex;
		height: 88rpx;
		justify-content: space-between;
		flex-direction: column;
	}
	
	.right>view:nth-child(1){
		color: #333333;
		font-size: 26rpx;
		max-width: 450rpx;
	}
	
	.right>view:nth-child(2){
		color: #666666;
		font-size: 24rpx;
	}
	
	.right>view:nth-child(3){
		font-weight: bold;
	}
</style>
